<template>
	<Wrapper>
		<input_native
			@input="$emit('input', $event)"
			:value="defaultValue"
			:placeholder="placeholder"
			:maxlength="maxlength"
			:type="type"/>
	</Wrapper>
</template>

<script>
	import Wrapper from '../wrapper'
	import input_native from '../index.vue'
	export default {
		components: {
			Wrapper, input_native
		},
		props: {
			defaultValue: {
				type: String,
				default: ''
			},
			type: { // number、idcard、digit
				type: String,
				default: 'text'
			},
			maxlength: {
				type: String,
				default: '50'
			},
			placeholder: {
				type: String,
				default: ''
			},
		},
	}
</script>

<style>
</style>
